package com.beizhen.demo.entity;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.*;
    import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
* 用户表
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
@JsonInclude(value = JsonInclude.Include.NON_NULL)
    @TableName("stu_user")
    @ApiModel(value="StuUser对象", description="用户表")
    public class StuUser implements Serializable {

private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "主键")
            @TableId(value = "u_id", type = IdType.INPUT)
    private Integer uId;

            @ApiModelProperty(value = "邮箱")
    private String uMailbox;

            @ApiModelProperty(value = "名称")
    private String uName;

            @ApiModelProperty(value = "密码")
    private String uPwd;

            @ApiModelProperty(value = "手机号")
    private String uPhone;

            @ApiModelProperty(value = "身份(字典表里的)")
    private Integer uIdentity;

            @ApiModelProperty(value = "加盐")
    private String uSalt;

            @ApiModelProperty(value = "所属机构（机构表外键）")
    private Integer uOId;


}
